<?php
namespace common\enum;

/**
 * 提款款相关常量
 * Class MoneyWithdrawEnum
 * @package common\enum
 */
class MoneyWithdrawEnum
{
    // ==================== 提款方式 ====================
    const WITHDRAW_TYPE_USER_APPLY = 1;                               // 'name' => '会员提款',
    const WITHDRAW_TYPE_MANUAL = 2;                                   // 'name' => '手动提款',
    const WITHDRAW_TYPE_MANUAL_DEDUCTED = 3;                          // 'name' => '手动减少余额',

    // ==================== 提款状态 ====================
    const WITHDRAW_STATUS_APPLY = 0;                               // 'name' => '待处理',
    const WITHDRAW_STATUS_PREPARE_PAY  = 1;                        // 'name' => '准备支付',
    const WITHDRAW_STATUS_PAID = 2;                                // 'name' => '已支付',
    const WITHDRAW_STATUS_FAILED = 3;                              // 'name' => '支付失败',
    const WITHDRAW_STATUS_CANCEL = 4;                              // 'name' => '已拒绝-审核阶段',
    const WITHDRAW_STATUS_REFUSED = 5;                             // 'name' => '已拒绝-打款阶段（审核通过后）',

    //是否厅主后台人工取款
    const IS_ADMIN_TRUE = 1;
    const IS_ADMIN_FALSE = 0;

    //是否首提
    const IS_FIRST_TRUE = 1;
    const IS_FIRST_FALSE = 0;

    const TYPE_USER = 1;//会员提款
    const TYPE_MANUAL_WITHDRAW = 2;//手动提款
    const TYPE_MANUAL_CHANGE = 3;//手动减少余额

    //是否是有手续费
    const HAS_FEE_TRUE = 1;
    const HAS_FEE_FALSE = 0;

}